package com.bdzl.biz.service;

import com.bdzl.pub.entity.loan.OrderCustDO;

import java.util.List;
import java.util.Map;

/**
 * 融资租赁订单客户信息表
 *
 * @author yangyicai
 * @email yangyicai@foxmail.com
 * @date 2021-05-11 15:23:42
 */
public interface OrderCustService {

	OrderCustDO get(Integer custId);

	List<OrderCustDO> list(Map<String, Object> map);

	int count(Map<String, Object> map);

	int save(OrderCustDO orderCust);

	int update(OrderCustDO orderCust);

	int remove(Integer custId);

	int batchRemove(Integer[] custIds);
	/**
	* @Description: TODO 根据客户id查询
	* @param custCardId 客户id
	* @return: com.bdzl.pub.entity.loan.OrderCustDO
	* @Author: Ming
	* @Date: 2021/5/20 17:36
	*/
	OrderCustDO getByCustCardId(String custCardId);
	/**
	* @Description: TODO 根据用户身份证id更新客户等级
	* @param odrNo 订单编号
	* @param custCardId 身份证 ID
	* @param level 客户等级
	* @return: int
	* @Author: Ming
	* @Date: 2021/5/25 17:15
	*/
	int updateByCustCardId(String odrNo,Integer custCardId, String level);
}
